<?php
$Report=Dracosys::getSessionValue(SESSION_INTERFACE, 'Report');
$User=Dracosys::getLoggedUser();
?>
<table id="IndRep_ReportContratados" class="Report">
    <thead>
        <tr>
            <th colspan="8">Relat&oacute;rio Pessoal</th>
        </tr>
        <tr class="header">
            <td>USU&Aacute;RIO</td>
            <td>CI</td>
            <td>CE</td>
            <td>CT</td>
            <td>CC</td>
            <td>AC</td>
            <td>CP</td>
            <td>AVALIAÇÕES</td>
        </tr>
    </thead>
    <tfoot>
        <tr>
            <td class="subtitle" colspan="8">
                CI: Chamados Internos; CE: Chamados Externos; CT: Chamados Telefônicos; CC: Clientes Cadastrados;
                AC: Chamados Aguardando Cliente; CP: Chamados Perfeitos (1 Resposta)
            </td>
        </tr>
    </tfoot>
    <tbody>
        <tr>
            <td><?= $User->getArDadosUsuario('StNome') ?></td>
            <td><?= $Report['InternalCalled'] ?></td>
            <td><?= $Report['ExternalCalled'] ?></td>
            <td><?= $Report['PhoneCalled'] ?></td>
            <td><?= $Report['CustomerRegister'] ?></td>
            <td><?= $Report['WaitingCustomerCalled'] ?></td>
            <td><?= $Report['PerfectCalled'] ?></td>
            <td><a href="#Avaliacao<?= $User->getIDUsuario() ?>" id="IndRep_AvaliacaoTip<?= $User->getIDUsuario() ?>" rel="tooltip">Passe o Mouse</a></td>
        </tr>
    </tbody>
</table>

<div id="IndRep_Avaliacao<?= $User->getIDUsuario() ?>" class="hide">
    <span class="name"><?= $User->getArDadosUsuario('StNome') ?></span>
    <table class="tooltipEvaluation">
        <thead>
            <tr>
                <td>TOTAL</td>
                <td>Ótimo</td>
                <td>Muito Bom</td>
                <td>Regular</td>
                <td>Péssimo</td>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td><?= $Report['Evaluation']['TOTAL'] ?></td>
                <td><?= $Report['Evaluation']['OTIMO'] ?></td>
                <td><?= $Report['Evaluation']['MUITO BOM'] ?></td>
                <td><?= $Report['Evaluation']['REGULAR'] ?></td>
                <td><?= $Report['Evaluation']['PESSIMO'] ?></td>
            </tr>
        </tbody>
    </table>
</div>